LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-28-2003, 06:09 AM   #1
bdika
Member
 
Registered: Aug 2003
Location: London, Canada
Distribution: Arch Linux
Posts: 63

Rep: Reputation: 15
How to undo 'chmod u+s `which kppp`'


I am using RedHat Linux 9 and entered the following commands in order to get non-root dialup:

chmod u+s `which kppp`
chmod u+s `which pppd`

Now I get no response when I choose the Kppp item from the KDE menu in RedHat and cannot start kppp except as root. This is the opposite of what I was trying to achieve. When I type the command for kppp from a terminal as a non root user I also get no response. Before I entered the above commands the same action would ask me for my root password and then proceed to start up kppp

How do I undo the above commands and restore the menu response in KDE?

Any help would be much appreciated.

Regards,
Bill Dika
 
Old 08-28-2003, 11:04 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well you can do the opposite of what was done, to remove it:
chmod -s kppp
chmod -s pppd
 
Old 08-28-2003, 04:31 PM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
To undo just do the opposite of what you did

chmod u-s `which kppp`
chmod u-s `which pp

When trying to give users acces you don't need to mess with pppd just kppp. And leave out the which

chmod u+s /sbin/kppp
 
Old 08-29-2003, 07:33 AM   #4
bdika
Member
 
Registered: Aug 2003
Location: London, Canada
Distribution: Arch Linux
Posts: 63

Original Poster
Rep: Reputation: 15
Many thanks.

Regards,
Bill Dika
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot open kppp or Network after chown and chmod xbill311x Linux - Networking 2 11-25-2005 11:36 AM
What can we do if we type chmod ugo-x /bin/chmod ?????? bunny123 Linux - Software 3 02-01-2005 08:53 PM
kppp problem, need to fix it or find kppp alternative trisha Linux - Networking 0 08-08-2004 03:04 PM
CHMOD in shell : chmod 777 /usr/ <---is that right? cpanelskindepot Programming 5 07-16-2004 05:37 AM
using RH 8.. how can i install KPPP? which package includes the KPPP? kublador Linux - General 2 02-20-2003 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration